﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace WoodAdmin.Models.ViewModels
{
    public class LoginViewModel
    {
        [Required(ErrorMessage ="请填写用户名")]
        public string UserName { get; set; }

        [Required(ErrorMessage = "请填写密码")]
        public string Password { get; set; }

        [Required(ErrorMessage = "请填写验证码")]
        public string VerifyCode { get; set; }
    }
}
